{% autoescape on %}

{% with "Share in" as share_txt %}
{% with "/templates/"|add:current_cfg.template|add:"/img" as img_dir %}

{% with "twitter" as service %}
<a href="http://twitter.com/share?url=http://{{ current_cfg.site }}{{ page_url }}&amp;text={{ title }}" target="_blank" title="{{ share_txt }} {{ service }}">
    <img src="{{ img_dir }}/tw.png" alt="{{ share_txt }} {{ service }}"/>
</a>
{% endwith%}

{% with "facebook" as service %}
<a href="http://www.facebook.com/share.php?u=http://{{ current_cfg.site.domain }}{{ page_url }}&amp;t={{ title }}" target="_blank" title="{{ share_txt }} {{ service }}">
    <img src="{{ img_dir }}/fb.png" alt="{{ share_txt }} {{ service }}"/>
</a>
{% endwith %}

{% with "linkedin" as service %}
<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://{{ current_cfg.site.domain }}{{ page_url }}&amp;title={{ title }}&amp;ro=false&amp;summary=&amp;source=" target="_blank" title="{{ share_txt }} {{ service }}">
    <img src="{{ img_dir }}/ln.png" alt="{{ share_txt }} {{ service }}"/>
</a>
{% endwith %}

{% with "reader" as service %}
<a href="http://www.google.com/reader/link?title={{ title }}&amp;url=http://{{ current_cfg.site.domain }}{{ page_url }}" target="_blank" title="{{ share_txt }} {{ service }}">
    <img src="{{ img_dir }}/rd.png" alt="{{ share_txt }} {{ service }}"/>
</a>
{% endwith %}

{% with "buzz" as service %}
<a href="http://www.google.com/buzz/post?message={{ title }}&amp;url=http://{{ current_cfg.site.domain }}{{ page_url }}" target="_blank" title="{{ share_txt }} {{ service }}">
    <img src="{{ img_dir }}/bz.png" alt="{{ share_txt }} {{ service }}"/>
</a>
{% endwith %}

{% endwith %}
{% endwith %}

{% endautoescape %}
